]> dgit.raspbian.org Git - gnome-shell.git/commitdiff
searchDisplay: Label search result actors for accessibility
authorJasper St. Pierre <jstpierre@mecheye.net>
Sun, 17 Mar 2013 19:33:02 +0000 (15:33 -0400)
committerJasper St. Pierre <jstpierre@mecheye.net>
Mon, 18 Mar 2013 16:12:40 +0000 (12:12 -0400)
https://bugzilla.gnome.org/show_bug.cgi?id=696007

js/ui/searchDisplay.js

index ce99f0f03c296b8664a56e991834cdb46abff8b9..d93a0b75cb63cc49648759b0bd166943cd51fa49 100644 (file)
@@ -104,6 +104,7 @@ const ListSearchResult = new Lang.Class({
                              y_fill: false,
                              x_align: St.Align.START,
                              y_align: St.Align.START });
+        this.actor.label_actor = title;
 
         if (this.metaInfo['description']) {
             let description = new St.Label({ style_class: 'list-search-result-description' });
@@ -141,6 +142,7 @@ const GridSearchResult = new Lang.Class({
         }
 
         this.actor.set_child(content);
+        this.actor.label_actor = content.label_actor;
 
         let draggable = DND.makeDraggable(this.actor);
         draggable.connect('drag-begin',